/**
 * 2017年8月22日
 */
package exp.core;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import exp.api.ExpUnit;

/**
 * @author Alex
 *
 */
public class ExpDriver {
	static Logger l = LoggerFactory.getLogger(ExpDriver.class);
	public static ClassPathXmlApplicationContext context = null;
	public static void main(String[] args) throws Exception {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
		ExpDriver.context = context;
		ExpUnit eu = context.getBean(ExpUnit.class);
		eu.start();
		context.close();
	}
	
}
